Note: This statement is named Get .NET Property with Arguments in the Add Statement dialog box.
Returns the value of a .NET property with parameters in an array.
Only use this statement if you have Visual C# .NET or Visual Basic .NET experience.
Syntax
GetDotNETPropertyWithArgs("PropertyName", ArrayOfParameters)
Arguments
| Argument | Description |
|---|---|
| PropertyName | .NET property. |
| ArrayOfParameters | Array that holds parameters to pass to the .NET property. |
Supported objects
Browser, Button, Calendar, Cell, CheckBox, ColumnHeader, ComboBox, ContextMenu, Control, DateTimePicker, EditBox, Grid, HTMLElement, HTMLLink, HTMLTable, Image, Item, Label, Link, ListBox, ListView, Menu, NavigationField, PopupMenu, ProgressBar, RadioButton, Row, RowHeader, ScrollBar, Slider, SpinBox, SubItem, Tab, TabBar, ToolBar, Tree, Window
Return value
| Value | Description |
|---|---|
| Value | .NET property value. |
Example
items = Window("Form5").ListBox("listBox1").GetDotNETProperty("Items")
Dim params(1)
params(1) = 1
PrintLn items.GetDotNETPropertyWithArgs("Items", params)